//登录接口需要的参数类型
export interface loginForm {
  username: String
  password: String
}
interface datatype {
  token?: string
  message?: string
}
//登录接口返回的数据类型
export interface loginResposeDate {
  code: number
  data: datatype
}
interface userInfo {
  userId: number
  avatar: string
  username: string
  password: String
  desc: string
  routes: string[]
  bottons: string[]
  roles: string[]
  token: string
}
//定义服务器返回的ts数据类型
interface user {
  checkUser: userInfo
}
export interface userResposeDate {
  code: number
  data: user
}
